FROM frolvlad/alpine-oraclejdk8:slim

COPY target/api-gateway.jar  api-gateway.jar

CMD ["sh", "-c", "nohup java $JAVA_OPTS -jar api-gateway.jar $PROPERTIES_OPTS1 $PROPERTIES_OPTS2 > /home/springcloudLog-`date +%Y%m%d` ", "&"]